package gupao.concurrency.mock;

import gupao.concurrency.model.TrafficRequest;

import java.util.UUID;
import java.util.concurrent.TimeUnit;

public class TrafficMirrorMock {

    public static TrafficRequest nextRequest() throws InterruptedException {
        TimeUnit.SECONDS.sleep(2);
        return new TrafficRequest(UUID.randomUUID().toString());
    }
}
